#-*-coding:utf-8-*-
import hou
class PerformanceOptions(object):
    def __init__(self):
        super(PerformanceOptions,self).__init__()

    def setPercentageThresholds_percent(self,value):
        hou.setPreference('point_percent.val', str(value))
        # print('setPercentageThresholds_percent')

    def getPercentageThresholds_Percent(self):
        return hou.getPreference('point_percent.val')
        # print('getPercentageThresholds_percent')


    def setPercentageThresholds_PointValue(self,value):
        hou.setPreference('delpoint.val', str(value))
        # print('setPercentageThresholds_PointValue')

    def getPercentageThresholds_PointValue(self):
        return hou.getPreference('delpoint.val')
        # print('getPercentageThresholds_PointValue')

    def setPercentageThresholds_AddPoint(self,value):
        hou.setPreference('addpoint.val',str(value))
        # print('setPercentageThresholds_AddPoint')

    def getPercentageThresholds_AddPoint(self):
        return hou.getPreference('addpoint.val')
        # print('getPercentageThresholds_AddPoint')


    def setPercentageThresholds_RampValue(self,value):
        hou.setPreference('FUSE_PREF.ramp_val',str(value))
        # print('setPercentageThresholds_RampValue')

    def getPercentageThresholds_RampValue(self):
        return hou.getPreference('FUSE_PREF.ramp_val')
        # print('getPercentageThresholds_RampValue')


    def setPercentageThresholds_RampSchemes(self,value):
        hou.setPreference('ramp_color_schemes.val', str(value))
        # print('setPercentageThresholds_RampSchemes')

    def getPercentageThresholds_RampSchemes(self):
        return hou.getPreference('ramp_color_schemes.val')
        # print('getPercentageThresholds_RampSchemes')